package cn.acac.yygh.cmn.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
public class Student {
    @ExcelProperty(value = "学生id")
    private Integer sid;
    @ExcelProperty(value = "学生名称")
    private String name;
    @ExcelProperty(value = "学生编号")
    private Integer stuCode;
    @ExcelProperty(value = "学生地址")
    private String address;

    @Override
    public String toString() {
        return "Student{" +
                "sid=" + sid +
                ", name='" + name + '\'' +
                ", stuCode=" + stuCode +
                ", address='" + address + '\'' +
                '}';
    }
}
